// 基于template/src/views/{{appModules}}/{{pages@DEPICKUPGRIDVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IPickupGridViewModel } from '@/core/interface/view/model';

function getModel(): IPickupGridViewModel {
	return {
		caption: '系统角色',
		title: '系统角色选择_选择数据视图',
		capPSLanguageRes: 'DE.LNAME.SYS_ROLE',
		titlePSLanguageRes: '',
		showDataInfoBar: false,
		codeName: 'sys_roleUsr0309956520PickupGridView',
		uiEngineModel: [],
		ctrls: [
			{
				name: 'grid',
				codeName: 'Usr0309426024',
				controlType: 'GRID',
			},
			{
				name: 'searchform',
				codeName: 'Usr0309079977',
				controlType: 'SEARCHFORM',
			},
		],
		ctrlParams: {
			Sys_rolegrid: {},
			Sys_rolesearchform: {},
		},
		cssName: '',
		name: 'sys_roleUsr0309956520PickupGridView',
		viewType: 'DEPICKUPGRIDVIEW',
		viewStyle: 'DEFAULT',
		showCaption: true,
		isLoadDefault: true,
		entityCodeName: 'Sys_role',
		keyPSAppDEField: 'Id',
		majorPSAppDEField: 'Name',
		expandSearchForm: true,
		xDataCtrlName: 'grid',
		quickSearchPlaceholder: ['名称', '角色代码标记'].join(','),
		useDefaultLayout: true,
	};
}

export const model = getModel();
